<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script>
	var str = '12 --== sasd55 == 88f';
	var tmp = '';
	var arr = [];
	
	for(var i = 0 ;i < str.length; i++)
	{

		if(str.charAt(i)>='0' && str.charAt(i) <='9')
			{
				tmp +=str.charAt(i); 
			}
		else
			{
				if(tmp)
				{
					arr.push(tmp);
					tmp='';
				}
			}
	}

	alert(arr);

</script>
</head>

<body>
</body>
</html>
